package cn.edu.xust.dao;

import cn.edu.xust.entity.HotelEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * 
 * @author ouguangji
 * @email sunny_ogj_mail@163.com
 * @date 2020-09-21 14:28:15
 */
//@CacheNamespace(size = 512,flushInterval = 3*1000)
@Mapper
public interface HotelDao extends BaseMapper<HotelEntity> {

    boolean updateEnv(@Param("hotelid") String hotelid, @Param("env") String env);

    boolean updateAddress(@Param("hotelid") String hotelid, @Param("address") String address);


    String getBigId();

}
